import request from './request'

// 获取全部检查车辆信息
export const checkCarList = (params) => {
  return request.get('/zxch/carCheck/app/list',params)
}

// 获取单个检查车辆内容
export const getcheckCarInfo = (id) => {
  return request.get(`/zxch/carCheck/app/${id}`)
}

// 新增检查车辆
export const checkCarAdd = (params) => {
  return request.post('/zxch/carCheck/app',params)
}

// 修改检查车辆内容
export const checkCarEdit = (params) => {
  return request.put('/zxch/carCheck/app',params)
}

// 删除检查车辆内容
export const checkCarDel = (id) => {
  return request.delete(`/zxch/carCheck/app/${id}`)
}